package com.itheima.dubbo.interfaces;


import com.itheima.commons.model.domain.Admin;
import com.itheima.commons.model.mongo.Album;
import com.itheima.commons.model.mongo.Publish;

import java.util.List;

/**
 * 朋友圈相册表接口
 */
public interface AdminApi {
    /**
     * 根据id查询管理员信息表获取数据
     *
     * @param adminId
     * @return
     */
    Admin queryWithId(Long adminId);

    List<Admin> queryByName(String adminName);
}
